package top.lyunz.fangkeji.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.lyunz.fangkeji.bean.TravelRecords;
import top.lyunz.fangkeji.bean.pageselect;
import top.lyunz.fangkeji.bean.timePeriodQuery;
import top.lyunz.fangkeji.mapper.TravelRecordsMapper;
import top.lyunz.fangkeji.service.TravelRecordsService;
@Service
public class TravelRecordsServiceImpl implements TravelRecordsService {
	@Autowired
	private TravelRecordsMapper TravelRecordsMapper;
	@Override
	public int addTravelRecords(TravelRecords travelRecords) {
		// TODO Auto-generated method stub
		return TravelRecordsMapper.addTravelRecords(travelRecords);
	}
	@Override
	public List<TravelRecords> getAlltravelRecords(int cid) {
		// TODO Auto-generated method stub
		return TravelRecordsMapper.getAlltravelRecords(cid);
	}
	@Override
	public List<TravelRecords> getAlltravelRecordsPage(pageselect pageselect) {
		// TODO Auto-generated method stub
		return TravelRecordsMapper.getAlltravelRecordsPage(pageselect);
	}
	@Override
	public List<TravelRecords> getAllstrangerRecordsPage(pageselect pageselect) {
		// TODO Auto-generated method stub
		return TravelRecordsMapper.getAllstrangerRecordsPage(pageselect);
	}
	@Override
	public List<TravelRecords> getAllstrangerRecords(List<String> eSn) {
		// TODO Auto-generated method stub
		return TravelRecordsMapper.getAllstrangerRecords(eSn);
	}
	@Override
	public List<TravelRecords> getstrangerRecordsliketTime(String tTime) {
		// TODO Auto-generated method stub
		return TravelRecordsMapper.getstrangerRecordsliketTime(tTime);
	}
	@Override
	public List<TravelRecords> gettravelRecordsLiketTime(TravelRecords records) {
		// TODO Auto-generated method stub
		return TravelRecordsMapper.gettravelRecordsLiketTime(records);
	}
	@Override
	public List<TravelRecords> geTravelRecordsByUid(int uid) {
		// TODO Auto-generated method stub
		return TravelRecordsMapper.geTravelRecordsByUid(uid);
	}
	@Override
	public List<TravelRecords> getstrangerRecordslikeeName(String eSn) {
		// TODO Auto-generated method stub
		return TravelRecordsMapper.getstrangerRecordslikeeName(eSn);
	}
	@Override
	public List<TravelRecords> geTravelRecordsPageByUid(pageselect pageselect) {
		// TODO Auto-generated method stub
		return TravelRecordsMapper.geTravelRecordsPageByUid(pageselect);
	}
	@Override
	public List<TravelRecords> geTravelRecordsByTimePeriod(timePeriodQuery periodQuery) {
		// TODO Auto-generated method stub
		return TravelRecordsMapper.geTravelRecordsByTimePeriod(periodQuery);
	}
	@Override
	public List<TravelRecords> geTravelRecordsByTimePeriodPage(timePeriodQuery periodQuery) {
		// TODO Auto-generated method stub
		return TravelRecordsMapper.geTravelRecordsByTimePeriodPage(periodQuery);
	}
	

}
